﻿@{
    ViewBag.Title = "List";
    Layout = "~/Views/Shared/User.cshtml";
}

<h2>用户列表</h2>

按
<select>
    <option>医院ID</option>
    <option>医院名称</option>
    <option>用户ID</option>
</select>
<select>
    <option>升序</option>
    <option>降序</option>
</select>
<input type="button" value="排序" />
<br />
搜索
<input type="text" />
<input type="button" value="Go" />


<table>
    <tr>
        <th>医院ID</th>
        <th>医院名称</th>
        <th>用户ID</th>
        <th>操作</th>
    </tr>
    @{for (int i = 0; i < 10; i++)
    {
    <tr>
        <td>H00XX</td>
        <td>XX医院</td>
        <td>admin</td>

        <td>
            @Html.ActionLink("删除", "Delete", "User")
            @Html.ActionLink("重置密码", "ResetPassword", "User")
        </td>
    </tr>
    }
    }
    <tr>
        <td colspan="4">
            <a href="#">上一页</a>
            @for (int i = 1; i <= 10; i++)
            {
                <a href="#">@i</a>
                @Html.Raw("&nbsp;&nbsp;")
            }
            <a href="#">下一页</a>
        </td>
     </tr>
</table>